package com.yixia.app.service;


import com.yixia.app.domain.bo.AppMenuBo;
import com.yixia.app.domain.vo.AppMenuVo;

import java.util.Collection;
import java.util.List;

/**
 * 菜单权限Service接口
 *
 * @author ruoyi
 * @date 2023-10-15
 */
public interface IAppMenuService {

    /**
     * 查询菜单权限
     */
    AppMenuVo queryById(Long menuId);


    /**
     * 查询菜单权限列表
     */
    List<AppMenuVo> queryList(AppMenuBo bo);

    /**
     * 新增菜单权限
     */
    Boolean insertByBo(AppMenuBo bo);

    /**
     * 修改菜单权限
     */
    Boolean updateByBo(AppMenuBo bo);

    /**
     * 校验并批量删除菜单权限信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
